﻿@model GameSchool.Models.Question

<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/Content/css/forms.css" />
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Ný spurning</legend>

        <div class="editor-label">
            <h2>Spurning:</h2>
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>

        <div class="editor-label">
            <h2>Ábending:</h2>
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Hint)
            @Html.ValidationMessageFor(model => model.Hint)
        </div>

        <div class="editor-label">
            <h2>Fást bónusstig:</h2>
        </div>
        <div class="editor-field">        
            @Html.DropDownList("GivesBonus")
            @Html.ValidationMessageFor(model => model.GivesBonus)
        </div>

         <section class="one-third last">
                <input type="submit" value="Vista svar" class="sendbutton" name="sendbutton" /> 
         </section>
       
    </fieldset>
}

